body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f0f0f0;
}

.container {
    display: flex;
    width: 80%;
    height: 80%;
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
}

.header {
    background-color: #333;
    color: #fff;
    padding: 20px;
    text-align: center;
    flex: 0 0 100%;
}

.sidebar {
    background-color: #444;
    color: #fff;
    padding: 20px;
    flex: 0 0 20%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sidebar a {
    display: block;
    margin: 10px 0;
    padding: 10px;
    background-color: #555;
    color: #fff;
    text-decoration: none; /* 去除下划线 */
    cursor: pointer;
}


/* .sidebar button {
    margin: 10px 0;
    padding: 10px;
    background-color: #555;
    border: none;
    color: #fff;
    cursor: pointer;
    
} */

.content {
    background-color: #fff;
    flex: 0 0 80%;
    padding: 20px;
}

.slideshow {
    width: 100%;
    overflow: hidden;
}

.slideshow img {
    width: 100%;
    display: none;
}

.slideshow img.active {
    display: block;
}